<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div{
      border: 1px solid red;width: 100px;height: 100px;
    }
    span{
      /*行内元素的宽高由内容决定,不能修改*/
      border: 1px solid blue;width: 100px;height: 100px;
    }
    img{
      width: 100px;height: 100px;
    }
    a{
        background-color: #0aa1ed;
        width: 132px;
        height: 40px;
        /*超链接属于行内元素不能修改宽高, 比如必须要改,需要修改显示方式*/
        display: block;
        text-align: center;
        line-height: 40px;
        color: white;
        text-decoration: none;
        font-size: 20px;
        border-radius: 3px;/*设置圆角*/
        display: none;/*让元素隐藏*/
    }
  </style>
</head>
<body>
<a href="">查看详情</a>

<img src="../b.jpg">
<img src="../b.jpg">
<img src="../b.jpg">
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>